package com.xh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.model.request.PosterSaveRequest;
import com.xh.model.request.PreviewRequest;
import com.xh.model.response.Posters;
import com.xh.model.table.Poster;

import java.util.List;

/**
 * <p>
 * 海报记录表 服务类
 * </p>
 *
 * @author wen
 * @since 2021-07-08
 */
public interface PostersService extends IService<Poster> {

    /**
     * 保存海报记录
     */
    Long save(PreviewRequest request);

    /**
     * 保存海报记录
     */
    Long save(PosterSaveRequest request);

    /**
     * 获取海报记录
     */
    List<Posters> getList();

    /**
     * 删除海报记录
     */
    void delete(Long id);

    /**
     * 复制海报
     */
    Long copy(Long id);

}
